/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:LinkQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for Link 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class LinkQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 链接表标识
     */
    private String linkId;    
    private List<String> linkId_list;
    private String linkId_notnull = "N";
    private String linkId_notequal;
    private boolean linkId_like;
    
    /**
     * 链接分类
     */
    private String linkType;    
    private List<String> linkType_list;
    private String linkType_notnull = "N";
    private String linkType_notequal;
    private boolean linkType_like;
    
    /**
     * 链接地址
     */
    private String linkUrl;    
    private List<String> linkUrl_list;
    private String linkUrl_notnull = "N";
    private String linkUrl_notequal;
    private boolean linkUrl_like;
    
    /**
     * 备注
     */
    private String remark;    
    
    public String getLinkId() {
        return linkId;
    }
    
    public void setLinkId(String linkId) {
        this.linkId = linkId;
    }
    public List<String> getLinkId_list() {
        return linkId_list;
    }
    
    public void setLinkId_list(List<String> linkId_list) {
        this.linkId_list = linkId_list;
    }
    public String getLinkId_notequal() {
        return linkId_notequal;
    }
    
    public void setLinkId_notequal(String linkId_notequal) {
        this.linkId_notequal = linkId_notequal;
    }
    public String getLinkId_notnull() {
        return linkId_notnull;
    }
    
    public void setLinkId_notnull(String linkId_notnull) {
        this.linkId_notnull = linkId_notnull;
    }
    
    public boolean isLinkId_like() {
        return linkId_like;
    }
    
    public void setLinkId_like(boolean linkId_like) {
        this.linkId_like = linkId_like;
    }
    
    public String getLinkType() {
        return linkType;
    }
    
    public void setLinkType(String linkType) {
        this.linkType = linkType;
    }
    public List<String> getLinkType_list() {
        return linkType_list;
    }
    
    public void setLinkType_list(List<String> linkType_list) {
        this.linkType_list = linkType_list;
    }
    public String getLinkType_notequal() {
        return linkType_notequal;
    }
    
    public void setLinkType_notequal(String linkType_notequal) {
        this.linkType_notequal = linkType_notequal;
    }
    public String getLinkType_notnull() {
        return linkType_notnull;
    }
    
    public void setLinkType_notnull(String linkType_notnull) {
        this.linkType_notnull = linkType_notnull;
    }
    
    public boolean isLinkType_like() {
        return linkType_like;
    }
    
    public void setLinkType_like(boolean linkType_like) {
        this.linkType_like = linkType_like;
    }
    
    public String getLinkUrl() {
        return linkUrl;
    }
    
    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }
    public List<String> getLinkUrl_list() {
        return linkUrl_list;
    }
    
    public void setLinkUrl_list(List<String> linkUrl_list) {
        this.linkUrl_list = linkUrl_list;
    }
    public String getLinkUrl_notequal() {
        return linkUrl_notequal;
    }
    
    public void setLinkUrl_notequal(String linkUrl_notequal) {
        this.linkUrl_notequal = linkUrl_notequal;
    }
    public String getLinkUrl_notnull() {
        return linkUrl_notnull;
    }
    
    public void setLinkUrl_notnull(String linkUrl_notnull) {
        this.linkUrl_notnull = linkUrl_notnull;
    }
    
    public boolean isLinkUrl_like() {
        return linkUrl_like;
    }
    
    public void setLinkUrl_like(boolean linkUrl_like) {
        this.linkUrl_like = linkUrl_like;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.linkId != null){
		   	 	toString += (this.linkId+",");
		   	 }
		  	 if(this.linkType != null){
		   	 	toString += (this.linkType+",");
		   	 }
		  	 if(this.linkUrl != null){
		   	 	toString += (this.linkUrl+",");
		   	 }
		  	 if(this.remark != null){
		   	 	toString += (this.remark+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.linkId != null){
		   		inputDescription += (this.linkId+" : 链接表标识,");
		   }
		   if(this.linkType != null){
		   		inputDescription += (this.linkType+" : 链接分类,");
		   }
		   if(this.linkUrl != null){
		   		inputDescription += (this.linkUrl+" : 链接地址,");
		   }
		   if(this.remark != null){
		   		inputDescription += (this.remark+" : 备注,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
